package cn.edu.gzmtu.dao;

import cn.edu.gzmtu.domain.Member;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * 会员表
 */
@Repository("memberDao")
public interface IMemberDao {

    /**
     * 根据id查询会员
     * @param id
     * @return
     * @throws Exception
     */
    @Select("select * from member where id=#{id}")
    Member findById(String id) throws Exception;
}
